package org.suwenqian.audiovideosummary.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("task")
public class Task {
    /**
     * 任务ID
     */
    private Long id;

    /**
     * 文件名
     */
    private String fileName;

    /**
     * 返回key
     */
    private String fileKey;

    /**
     * 状态（1:uploading，2:queued, 3:processing, 4:success,5:failed)
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createdAt;

    /**
     * 更新时间
     */
    private Date updatedAt;
}